function template
<random>
std::operator<<
template <class charT, class traits, class UIntType, size_t w, size_t s, size_t r> basic_ostream<charT,traits>& operator<< ( basic_ostream<charT,traits>& os, const subtract_with_carry_engine<UIntType,w,s,r>& swce );
Insert into output stream
Writes a textual representation of the object's current state, separating adjacent numbers by one or more spaces, in such a way that if this same text is inserted using operator>> into an object of the same type, the same sequence of random numbers would be generated by equivalent invocations of operator().
If os's fmtflags is not set to dec|left and its fill character is not the space character, the behavior of this function is undefined.
Return Value
The same as parameter os.
If some error happens during the output operation, the stream's badbit flag is set, and if the appropriate flag has been set with ios::exceptions, an exception is thrown.
Complexity
Linear on the state size (template parameter r).
See also
- operator>>
- Extract from input stream (function template)